6- Sokoban (2)

Program the robot to push the box to the marked square.

Program the robot to push the boxes onto the boxes marked.

The number in front of the robot indicates the column where there is a box to push.

The numbers in front of the robot correspond to the coordinates of the box:

  • The first number indicates the row
  • The second number indicates the column

The number in the bottom left corner indicates the number of cases present on the grid.
The number at the bottom of each column indicates the row on which it there is a case.

Please note, your program must work on all three tests. Watch them before programming!

You may need to use a variable